@base-n: 100;
@base-height: 1080;
@rem-pre-px: 1rem * (@base-n / @base-height);

.map-top10-risk {
  min-height: 250 * @rem-pre-px;
  .risk-item.fatal {
    background-image: url('../../images/icon/risk-site-fatal.png');
  }
  .risk-item.high {
    background-image: url('../../images/icon/risk-site-high.png');
  }
  .risk-item.middle {
    background-image: url('../../images/icon/risk-site-middle.png');
  }
  .risk-item.low {
    background-image: url('../../images/icon/risk-site-low.png');
  }
  .risk-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32 * @rem-pre-px;
    background-position-y: 4 * @rem-pre-px;
    background-repeat: no-repeat;
    background-size: 22 * @rem-pre-px;
    margin: 20 * @rem-pre-px 0;
    padding-left: 36 * @rem-pre-px;
    cursor: pointer;
    .risk-content {
      max-width: 50%;
      font-size: 14 * @rem-pre-px;
      &-url {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }
      .large-font {
        font-size: 16 * @rem-pre-px;
      }
    }
    .risk-score {
      font-size: 26 * @rem-pre-px;
      font-weight: bold;
      margin-top: -2 * @rem-pre-px;
      span {
        font-size: 12 * @rem-pre-px;
      }
    }
  }
}

.top10-risk-tooltip {
  .ant-tooltip-content {
    background: rgba(50, 50, 50, 0.7);
  }
  .ant-tooltip-inner {
    background: none;
  }
  .ant-tooltip-arrow {
    border-top-color: rgba(50, 50, 50, 0.7);
  }
}
